<!--
  描述：产品组详情页
  @author tanghongjun
  @since 2020-08-19 11:18:36
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss2">
    <title>关联检修项目</title>
</head>
<body>

<div class="layui-fluid">

    <div class="layui-card">
        <form method="post" action="" class="layui-form" lay-filter="zmn-form">

            <div class="layui-split">&nbsp;</div>

            <div class="layui-form-item">
                <label class="layui-form-label layui-form-required">关联检修项目：</label>
                <div class="layui-input-inline" style="width:200px">
                    <div id="maintainIds"></div>
                </div>
            </div>

            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit"
                                th:if="${#authPermit.checkPermit('/base/phenomenon/addPhenomenonMaintain.action')}"
                        >提交
                        </button>
                        <button onclick="zmnLayUtil.closeThisIframe(parent,{reloadPage: true})"
                                class="layui-btn layui-btn-primary" id="cancel">取消
                        </button>
                    </div>
                </div>
            </div>

        </form>

    </div>

</div>
<script src="/static/js/commonSelect.js"></script>
<script type="text/javascript" th:inline="javascript">

    var json = {
        maintains: [[${maintains}]],
        phenId: [[${phenId}]]
    };


    layui.config({
        base: "/static/lay/",
        version: "22111"
    }).extend({
        index: "lib/index",
        plat_phenomenon_relation_maintain: "base/phenomenon/zmn.plat.phenomenon.relation.maintain",
    }).use(['index', 'plat_phenomenon_relation_maintain']);

</script>
</body>
</html>